package com.feiyu.order.service;

import com.feiyu.order.dto.createOrderDto;
import com.feiyu.order.dto.operateOrderDto;
import com.feiyu.order.dto.selectOrderDto;

import java.util.Map;

/**
 * @Author: Doate
 * @Date: Created in 2021/4/9 15:37
 * @Description:
 */
public interface OrderService {

    public Map<String, Object> createOrder(createOrderDto dto);

    public Map<String, Object> searchByParam(selectOrderDto dto, int power, int userId);

    public Map<String, Object> searchById(String orderId);

    public boolean buyerReceiveGoods(operateOrderDto dto, int userId);

    public boolean shopReceiveGoods(operateOrderDto dto, int userId);

    public boolean rebackGoods(String orderId);

    public boolean changeToBuy(String orderId);

    public boolean refund(String orderId);

    public boolean shipAgain(String orderId);

    public void add();


}
